import request from '@/utils/request'

// 查询settlestyle列表
export function listSettlestyle(query) {
  return request({
    url: '/settlestyle/settlestyle/list',
    method: 'get',
    params: query
  })
}

// 查询settlestyle详细
export function getSettlestyle(cSSCode) {
  return request({
    url: '/settlestyle/settlestyle/' + cSSCode,
    method: 'get'
  })
}

// 新增settlestyle
export function addSettlestyle(data) {
  return request({
    url: '/settlestyle/settlestyle',
    method: 'post',
    data: data
  })
}

// 修改settlestyle
export function updateSettlestyle(data) {
  return request({
    url: '/settlestyle/settlestyle',
    method: 'put',
    data: data
  })
}

// 删除settlestyle
export function delSettlestyle(cSSCode) {
  return request({
    url: '/settlestyle/settlestyle/' + cSSCode,
    method: 'delete'
  })
}
